package edu.stthomas.seis752.service;

import java.util.List;

import org.springframework.web.multipart.MultipartFile;

import edu.stthomas.seis752.model.Collection;
import edu.stthomas.seis752.model.CollectionType;
import edu.stthomas.seis752.model.Member;
import edu.stthomas.seis752.model.User;

public interface UserService {

    public void addUser(User user, MultipartFile profilePic);

    public User getUser(Long id);

    public List<User> getUsers(int number);

    public List<Collection> getCollectionsForOwner(Long userId);

    public CollectionType getCollectionType(String code);

    public Collection addCollection(Collection coll);

    public void saveCollection(Collection coll);

    public void saveMember(Member m);

    public void remove(Object o);

    public Object getPersistedObject(Class c, Object id);
    public User getUserByUserName(String userName);


}
